package com.fita.wechat.rao;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.*;

import java.util.Map;

/**
 * @description:
 * @author: 11200
 * @date: 2019/7/2
 */
@Rao
public interface ApiRao {

    /**
     * 提现
     * @param requestUrl
     * @param mobile
     * @param amount
     * @return
     */
    @RaoMapping(method = HttpMethod.POST)
    @RaoConfig(parse = true, contentType = "application/json;charset=UTF-8")
    public HttpResult withdraw(@RaoUrl String requestUrl, @RaoParam("mobile") String mobile, @RaoParam("amount") Integer amount);
}
